<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // let fn1=()=>{
    //   alert('加载了--')
    // }
    // fn1()
 fn2=(a,b,...parmas)=>{
  console.log(a,b,...parmas);
 }
 fn2(1,2,3,4,5,6)
 fn2('nfwa','kfwk',25,86,56)
fn3=function(a,b,c){
  console.log({name:a,age:b},'性别:',c);
}
fn3('杨幂',38,'女')
  </script>
</body>
</html>